Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

say we've got error for better developer usability #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bjfletcher
Copy link

We had problems with npm ls (deep in haikro) earlier today because it didn't output any indication that it had errors/issues. Only a bad return code that we didn't know about, made worse by the fact that it was --log-leve=silence.

I realise that one reason for this design is for ease of integration & scriptability (string comparison with error output) but hey IMHO a bad error output is far better than a silent error output. :)

We had problems with `npm ls` (deep in `haikro`) earlier today because it didn't output any indication that it had errors/issues. Only a bad return code that we didn't know about, made worse by the fact that it was `--log-leve=silence`.

I realise that one reason for this design is for ease of integration & scriptability (string comparison with error output) but hey IMHO a bad error output is far better than a silent error output. :)
@matthew-andrews
Copy link
Owner

Hmmmmmmmmmm, we should think about this really carefully. I think to be safe we should make this a major version bump. Do you think it's worth doing?

@leggsimon
Copy link

Why do you think it should this be a major version? It still fails in the same way but just outputs the error message, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants